package com.lovemanai.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * StuInfo entity. @author MyEclipse Persistence Tools
 */

public class StuInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Set<TeacherInfo> teachers = new HashSet<TeacherInfo>(0);

	// Constructors

	/** default constructor */
	public StuInfo() {
	}

	/** full constructor */
	public StuInfo(String name) {
		this.name = name;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<TeacherInfo> getTeachers() {
		return teachers;
	}

	public void setTeachers(Set<TeacherInfo> teachers) {
		this.teachers = teachers;
	}

	
}